package priv.dajie.tzzq.service;

import org.apache.ibatis.annotations.Param;
import priv.dajie.tzzq.model.QualityName;
import priv.dajie.tzzq.spider.model.ItemInfo;
import priv.dajie.tzzq.spider.model.SellingInfo;

/**
 * @ClassName SteamService
 * @Description
 * @Author dajie
 * @Date 2019/10/24 12:50 上午
 * @Version V1.0
 **/
public interface SteamService {
    boolean addItem(SellingInfo sellingInfo);
    Integer countItem(String steamName);
    boolean addInfo(ItemInfo itemInfo);
    boolean updateInfo(ItemInfo itemInfo);
    ItemInfo getInfo(ItemInfo itemInfo);
    ItemInfo getInfoById(String id);
    ItemInfo getInfoBySteamName(String steamName);
    ItemInfo getInfoByQualityName(QualityName qualityName);
}
